package com.cherry.common.constant;

public class RequestConstants {

    /**
     * 请求开始时间
     */
    public final static String REQUEST_START_TIME = "_REQUEST_START_TIME";

    /**
     * 请求异常
     */
    public final static String EXCEPTION = "_REQUEST_EXCEPTION";

    /**
     * 返回数据
     */
    public final static String RESPONSE_DATA = "_RESPONSE_DATA";

    /**
     * 当前用户
     */
    public final static String CURRENT_USER = "_CURRENT_USER";

    /**
     * URI PATTERN
     */
    public final static String URI_PATTERN = "URI_PATTERN";

    /**
     * 应用名称请求头
     */
    public final static String APPLICATION_NAME_HEADER = "x-application-name";

    /**
     * 公司名称请求头
     */
    public final static String COMPANY_NAME_HEADER = "x-company-name";

    /**
     * 用户信息请求头
     */
    public final static String USER_HEADER = "x-ups-user";

    /**
     * 链路ID请求头
     */
    public final static String TRACE_ID_HEADER = "traceId";

    /**
     * 用户信息请求头
     */
    public final static String AUTH_TOKEN_HEADER = "authToken";

    /**
     * 国际化语言标识请求头
     */
    public final static String LANG_HEADER = "lang";

    // --------- 客户端IP请求头 ---------
    public final static String FORWARDED_FOR_HEADER = "X-Forwarded-For";
    public final static String PROXY_CLIENT_IP_HEADER = "Proxy-Client-IP";
    public final static String WL_PROXY_CLIENT_IP_HEADER = "WL-Proxy-Client-IP";
    public final static String REAL_IP_HEADER = "X-Real-IP";

}